package i.i.myapplication;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "users")
public class User {
    @PrimaryKey(autoGenerate = true)
    public int id;

    public String userId; // Clinician 提供的ID
    public String phoneNumber;
    public String password;
    public String confirmPassword;

    public User(String userId, String phoneNumber, String password, String confirmPassword) {
        this.userId = userId;
        this.phoneNumber = phoneNumber;
        this.password = password;
        this.confirmPassword = confirmPassword;
    }
}
